package com.atos.optical.service;

import com.atos.optical.common.BaseService;
import com.atos.optical.model.bo.TreeNodeBo;
import com.atos.optical.model.po.SysMenuInfo;

import java.util.List;

/**
 * @author wanghra
 * @version 1.0
 * @description
 * @date 2025/8/13
 */
public interface SysMenuInfoService extends BaseService<SysMenuInfo> {
    /**
     * 查询菜单树
     * 
     * @return
     */
    List<TreeNodeBo> getAllTree();

    /**
     * 查询用户菜单树
     * 
     * @param userId
     * @return
     */
    List<TreeNodeBo> getUserMenuTree(String userId);
}
